html,body {
  height: 100%;
  overflow: hidden;
}

* {
  padding: 0;
  margin: 0;
}

body {
  background:url(/images/login_bg.jpg) no-repeat;
  background-size: cover;
}

#top-logo {
  margin: 20px 0 0 360px;
}

.box {
  width: 400px;
  height: 310px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.box>.title{
  height: 60px;
  background: url(/images/login_title.png) no-repeat center;
}

.registered {
  display: none;
}

/* .login {
  display: none;
} */

.frombox {
  padding: 0 30px;
  position: relative;
}

.password {
  position: relative;
}

.layui-input {
  margin-bottom: 15px;
  padding-left: 35px;
}

.layui-btn {
  width: 100%;
}

.frombox .layui-icon-username {
  position: absolute;
  left: 40px;
  top: 10px;
  
}

.frombox .layui-icon-password {
  position: absolute;
  left: 10px;
  top: 10px;
}

.layui-btn {
  margin-bottom: 15px;
}

.goregistered {
  display: block;
  width: 100%;
  text-align: right;
}